package Fundamental.memory;


public class Main {
    public static void main(String[] args) {
        Main m = new Main() ;
        int date = 9 ;
        Birthday b1 = new Birthday(-1 , -1 , -1 );
        Birthday b2 = new Birthday(-2 , -2 , -2 );
        m.change1(date);
        m.change2(b1);
        m.change3(b2);
        System.out.println("date:" + date);
        b1.display();
        b2.display();
        int i ;
        int j = (i = "sss".hashCode())^( i >>> 16);
        Integer ii = new Integer(10);
        System.out.println("j hashcode :" + j);
        System.out.println("i:"+ ("sss".hashCode() >>> 16) );
        System.out.println(2 ^ 0 );
    }
    public void change1(int i){
       i = 100 ;
    }
    public void change2(Birthday b ){
        b = new Birthday(1 , 2,3);
    }
    public void change3(Birthday b){
        b.setDay(1);
    }
}
